Skip to content

(torchx/runner) Add runner API to parse scheduler config from string literal #1096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2025

Conversation

ethanbwaite
Copy link
Contributor

Summary:
Adds cfg_from_str to the runner API to parse scheduler config options from string literals so this logic doesn't need to be duplicated across usecases.

Also updates CLI exit message with the full InvalidRunConfigException reason string, and fixes a dead link.

Differential Revision: D79937463

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79937463

@ethanbwaite ethanbwaite requested a review from kiukchung August 12, 2025 15:40
ethanbwaite added a commit that referenced this pull request Aug 12, 2025
…literal (#1096)

Summary:

Adds `cfg_from_str` to the runner API to parse scheduler config options from string literals so this logic doesn't need to be duplicated across usecases.

Also updates CLI exit message with the full `InvalidRunConfigException` reason string, and fixes a dead link.

Differential Revision: D79937463
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79937463

ethanbwaite added a commit that referenced this pull request Aug 12, 2025
…literal (#1096)

Summary:
Pull Request resolved: #1096

Adds `cfg_from_str` to the runner API to parse scheduler config options from string literals so this logic doesn't need to be duplicated across usecases.

Also updates CLI exit message with the full `InvalidRunConfigException` reason string, and fixes a dead link.

Differential Revision: D79937463
ethanbwaite added a commit that referenced this pull request Aug 13, 2025
…literal (#1096)

Summary:

Adds `cfg_from_str` to the runner API to parse scheduler config options from string literals so this logic doesn't need to be duplicated across usecases.

Also updates CLI exit message with the full `InvalidRunConfigException` reason string, and fixes a dead link.

Differential Revision: D79937463
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79937463

ethanbwaite added a commit that referenced this pull request Aug 13, 2025
…literal (#1096)

Summary:
Pull Request resolved: #1096

Adds `cfg_from_str` to the runner API to parse scheduler config options from string literals so this logic doesn't need to be duplicated across usecases.

Also updates CLI exit message with the full `InvalidRunConfigException` reason string, and fixes a dead link.

Differential Revision: D79937463
…literal (#1096)

Summary:

Adds `cfg_from_str` to the runner API to parse scheduler config options from string literals so this logic doesn't need to be duplicated across usecases.

Also updates CLI exit message with the full `InvalidRunConfigException` reason string, and fixes a dead link.

Differential Revision: D79937463
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79937463

@facebook-github-bot facebook-github-bot merged commit cc41de6 into main Aug 14, 2025
22 of 23 checks passed
@facebook-github-bot facebook-github-bot deleted the export-D79937463 branch August 14, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants